package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员体检信息对象 c5_medical_reports
 * 
 * @author whz
 * @date 2024-12-04
 */
public class MedicalReports extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 人员ID */
    @Excel(name = "人员ID")
    private Long personId;

    /** 体检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "体检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportDate;

    /** 体检结果 */
    @Excel(name = "体检结果")
    private String reportResult;

    /** 体检报告文件路径 */
    @Excel(name = "体检报告文件路径")
    private String reportFilePath;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String medicalReportsExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String medicalReportsExtra2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String medicalReportsExtra3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String medicalReportsExtra4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String medicalReportsExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setReportDate(Date reportDate) 
    {
        this.reportDate = reportDate;
    }

    public Date getReportDate() 
    {
        return reportDate;
    }
    public void setReportResult(String reportResult) 
    {
        this.reportResult = reportResult;
    }

    public String getReportResult() 
    {
        return reportResult;
    }
    public void setReportFilePath(String reportFilePath) 
    {
        this.reportFilePath = reportFilePath;
    }

    public String getReportFilePath() 
    {
        return reportFilePath;
    }
    public void setMedicalReportsExtra1(String medicalReportsExtra1) 
    {
        this.medicalReportsExtra1 = medicalReportsExtra1;
    }

    public String getMedicalReportsExtra1() 
    {
        return medicalReportsExtra1;
    }
    public void setMedicalReportsExtra2(String medicalReportsExtra2) 
    {
        this.medicalReportsExtra2 = medicalReportsExtra2;
    }

    public String getMedicalReportsExtra2() 
    {
        return medicalReportsExtra2;
    }
    public void setMedicalReportsExtra3(String medicalReportsExtra3) 
    {
        this.medicalReportsExtra3 = medicalReportsExtra3;
    }

    public String getMedicalReportsExtra3() 
    {
        return medicalReportsExtra3;
    }
    public void setMedicalReportsExtra4(String medicalReportsExtra4) 
    {
        this.medicalReportsExtra4 = medicalReportsExtra4;
    }

    public String getMedicalReportsExtra4() 
    {
        return medicalReportsExtra4;
    }
    public void setMedicalReportsExtra5(String medicalReportsExtra5) 
    {
        this.medicalReportsExtra5 = medicalReportsExtra5;
    }

    public String getMedicalReportsExtra5() 
    {
        return medicalReportsExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("reportDate", getReportDate())
            .append("reportResult", getReportResult())
            .append("reportFilePath", getReportFilePath())
            .append("medicalReportsExtra1", getMedicalReportsExtra1())
            .append("medicalReportsExtra2", getMedicalReportsExtra2())
            .append("medicalReportsExtra3", getMedicalReportsExtra3())
            .append("medicalReportsExtra4", getMedicalReportsExtra4())
            .append("medicalReportsExtra5", getMedicalReportsExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
